package com.zsc.wxm.ysh.anjo.service.base.model.es.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/15 0:09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EsDataVO implements Serializable {

    private static final long serialVersionUID = -2534229213701631461L;

    @ApiModelProperty("房源Id")
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("图片")
    private String image;

    @ApiModelProperty("朝向")
    private String orientation;

    @ApiModelProperty("租金")
    private String rent;

    @ApiModelProperty("支付方式")
    private String payType;

    @ApiModelProperty(value = "所在省")
    private String province;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("修改时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

}
